package tmp;

import baseFx.common.Stream;
import baseFx.common.concurrent.Counter;
import baseFx.common.concurrent.Task;
import baseFx.common.lock.Lockspace;
import baseFx.common.lock.redis.RedisLockspace;
import baseFx.common.utils.*;
import baseFx.log.FxLog;
import com.mysql.cj.xdevapi.Session;
import com.mysql.cj.xdevapi.SessionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.JedisPool;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.Serializable;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Pattern;

public class Main {
    public static void main(String[] args) throws Exception {

    }

    private static long getRs(long min, long max) {
        if (max <= min) {
            return -1;
        }
        long r = max - min;
        long s = Math.abs(new Random().nextLong());
        long t;
        if (s < r) {
            t = s;
        } else {
            t = s % r;
        }
        return min + t;
    }

    public static class Vo {
        public Integer id;
        public String name;
    }
}
